import React,{Component} from 'react';
import {Row,Col} from 'antd';
import Lang from './Lang';
import './chose.less';
const prefix = "chose";
class Chose extends Component{
    render(){
        let featuresEle = Lang.map((value,index)=>{
           return(
               <Col key={index} style={{marginTop:'20px',maxWidth:'350px'}}>
                   <div style={{height:'50px'}}>
                        <img src={value.icon} alt=""/>
                   </div>
                   <h3>{value.feature}</h3>
                   <p>{value.content}</p>
               </Col>
           )
        });
        return(
            <div className={prefix}>
                <div className={prefix+'-box'}>
                    <div className={prefix+'-title'}>选择惠每极致医疗的理由</div>
                    <Row className={prefix+'-feature'} type="flex" justify="space-around">
                        {featuresEle}
                    </Row>
                </div>
            </div>
        )
    }
};
export default Chose;